package com.xhwl.logistics.service.cent.server;


import com.xhwl.common.dto.cent.vehicle.feign.VehicleIntervalStatisticsQuery;
import com.xhwl.common.dto.cent.vehicle.feign.VehicleParkingLotQuery;
import com.xhwl.common.pojo.ResultJson;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;

/**
 * 提供大华和科拓地磁感应的北向IOC接口（定制）
 */
//@RestController
public interface IVehicleDaHuaAndKeTopGeoIOCService {

    /**
     * 获取大华和科拓地磁感应的车位信息
     */
    @PostMapping("/vehicle-feign/dahua-ketopgeo/carport-info")
    ResultJson getDaHuaAndKeTopGeoCarportInfo(@RequestPart("parking") VehicleParkingLotQuery vehicleParkingLotQuery);

    /**
     * 获取大华各个区域的车辆进出统计的趋势
     */
    @PostMapping("/vehicle-feign/dahua-ketopgeo/access-record-trend")
    ResultJson getDaHuaAndKeTopGeoAccessRecordTrend(@RequestPart("parking") VehicleIntervalStatisticsQuery vehicleIntervalStatisticsQuery);

    /**
     * 获取最新的大华货车区进出记录
     */
    @PostMapping("/vehicle-feign/dahua-ketopgeo/access-record-recently")
    ResultJson getDaHuaAndKeTopGeoAccessRecordRecently(@RequestPart("parking") VehicleParkingLotQuery vehicleParkingLotQuery);

}
